package com.yuelife.service.dao;
import com.yuelife.service.pojo.SCommon;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/****
 * @Author:admin
 * @Description:SCommon的Dao
 * @Date 2019/6/14 0:12
 *****/
public interface SCommonMapper extends Mapper<SCommon> {

    //selectSCommonByStoreId
    List<SCommon> selectSCommonByStoreId(Integer storeId);

    /**
     * 加载单个服务的评论
     * @param serviceId
     * @return
     */
    List<SCommon> selectSCommonByserviceId(Integer serviceId);
}
